'use strict';

const Controller = require('egg').Controller;

class homePageM extends Controller {
  * getWfwLoginCount() {
    const { ctx } = this;
    const params = ctx.request.body;
    const WfwLoginCount = yield ctx.service.homePage.WfwLoginCount(params);
    ctx.body = WfwLoginCount;
  }
  * postPut() {
    const { ctx } = this;
    ctx.body = { id: '2222' };
  }
}
module.exports = homePageM;
